import React, { useState, useEffect } from 'react'
import CatUrl from '../assets/dog.gif'

import usePosition from '../position'

export default function LT() {
  let { x, y } = usePosition()

  x += 200
  y -= 50
  return (
    <div>
      <img
        src={CatUrl}
        alt=""
        style={{ position: 'absolute', left: x, top: y }}
      />
    </div>
  )
}
